.mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100%;

  .main {
    position: absolute;
    top: 180px;
    left: 50%;
    z-index: 1002;
    width: 556px;
    padding: 24px 20px 30px 20px;
    background: #fff;
    border-radius: 12px;
    transform: translateX(-50%);
  }

  .header {
    height: 40px;
    /*     margin-bottom: 22px; */
    color: #000;
    font-weight: 500;
    font-size: 16px;
    font-family: PingFangSC, PingFang SC;
    line-height: 30px;
    border-bottom: 1px solid #eeeeee;
    /* text-align: center; */
  }
  .invoice {
    display: flex;
    align-items: center;
    height: 50px;
    margin-bottom: 14px;
    .invoicelabel {
      width: 96px;
      color: #000000;
      font-size: 14px;
    }
  }
  .btns {
    display: flex;
    gap: 10px;
    justify-content: space-between;
  }
  .btn {
    width: 195px;
    height: 50px;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #000000;
    border-radius: 12px;
    cursor: pointer;
  }
  .active {
    color: #fff;
    background: #000000;
    border: 1px solid #000000;
  }
  .title {
    display: flex;
    align-items: center;
    height: 50px;
    margin-bottom: 14px;
    .titlelabel {
      width: 96px;
      color: #000000;
      font-size: 14px;
    }
  }
  .detai {
    display: flex;
    width: 100%;
    height: 107px;
    padding: 10px;
    background: #2f5083;
    border-radius: 12px;
    .img {
      width: 104px;
      height: 86px;
      border-radius: 4px;
    }
    .right {
      display: flex;
      flex: 1;
      flex-direction: column;
      width: 0;
      margin-left: 8px;
      padding-right: 15px;
      font-size: 12px;
      .title {
        overflow: hidden;
        color: #fff;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      .time {
        margin: 4px 0 19px 0;
        color: #7688a5;
      }
      .priceWrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        .key {
          color: #7688a5;
        }
        strong {
          color: #fee500;
          font-weight: normal;
        }
      }
    }
  }

  .footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    .button {
      width: 150px;
      height: 44px;
      color: #fff;
      line-height: 44px;
      text-align: center;
      background: #d3dbfe;
      border-radius: 10px;
      cursor: pointer;

      &.submit {
        margin-left: 30px;
        background-color: #254df8;
        &:hover {
          background-color: #4a67eb;
        }
      }
    }
  }

  .close {
    position: absolute;
    top: 25px;
    right: 20px;
    width: 22px;
    height: 22px;
    cursor: pointer;
  }
}

.form {
  margin-top: 16px;

  :global {
    input::placeholder {
      color: #b3b3b3;
    }

    .ant-form-item {
      margin-bottom: 20px;
    }

    .ant-form-item-label {
      margin-bottom: 10px;
      padding: 0;
      font-size: 14px;
      line-height: 20px;

      > label {
        color: #000;
      }
    }
    .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input {
      background: none !important;
    }
    .ant-input {
      padding: 11px;
      color: #000;
      font-size: 14px;
      background: #ffffff;
      border: 1px solid #eeeeee;
      border-radius: 10px;

      &-disabled {
        background-color: none !important;
      }

      &:hover,
      &:focus {
        border: 1px solid #254df8;
        /*    outline: none;
        box-shadow: 0 0 0 2px #254df8; */
      }
    }
  }
}

.videoWrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;

  .tips {
    display: flex;
    align-items: center;
    color: #fff;

    .icon {
      width: 15px;
      height: 15px;
      margin-left: 2px;
      background: url('./images/icon-arrow.png') no-repeat center / 100%;
    }
  }
}

.idcardWrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.uploadIdCard {
  width: 160px;
  height: 93px;
  background: #244477;
  border: 1px dashed #2f5083;
  border-radius: 8px;

  &:hover {
    border-color: #254df8;
  }

  :global {
    .ant-spin-blur::after {
      opacity: 0;
    }
  }

  .img {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
  }

  .button {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 12px;

    .icon {
      width: 17px;
      height: 17px;
      margin-right: 6px;
      background: url('./images/icon-add.png') no-repeat center / 100% 100%;
    }
  }

  .loading {
    color: #fff;

    :global {
      .ant-spin-dot-item {
        background-color: #fff;
      }
    }
  }

  :global {
    .ant-upload.ant-upload-select-picture-card {
      width: 100%;
      height: 100%;
      margin: 0;
      background-color: transparent;
      border: none;
    }
  }
}

.tips {
  .container {
    .text {
      margin-top: 10px;
      color: #fff;
      font-size: 12px;
      line-height: 17px;
    }
  }
}

.videoTipsPopover {
  :global {
    .ant-popover-inner {
      width: 245px;
      padding: 10px;
      background: #2f5083;
      border: 1px solid #657ba9;
      border-radius: 12px;
      box-shadow: 0 10px 35px 0 rgba(12, 29, 64, 0.53);
    }

    .ant-popover-inner-content {
      padding: 0;
    }
  }
}

.uploadVideo {
  .process {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    padding: 12px;
    overflow: hidden;
    color: #7688a5;
    background-color: #192c53;
    border-radius: 8px;
    &.done {
      color: #fff;
    }
    &.error {
      .processInner {
        background: rgba(240, 8, 8, 0.4);
      }
    }

    .processInner {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      background: rgba(41, 186, 145, 0.4);
    }
  }

  .icon {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 29px;
    height: 29px;
    background: url('./images/icon-upload-success.png') no-repeat center / 100% 100%;
  }

  :global {
    .ant-upload {
      width: 100%;
      height: auto;
      margin: 0;
      padding: 0;
      background: transparent;
      border: none;
    }
  }
}
